# -*- coding:utf-8 -*-

from rest_framework.viewsets import ModelViewSet

from Apps.System.filters.cropFilter import CorpFilter
from Apps.System.models.corp import Corp
from Apps.System.ser.corpSer import CorpSer


class CorpView(ModelViewSet):
    serializer_class = CorpSer
    queryset = Corp.objects.all()
    filter_class = CorpFilter
